package com.luxx.controller;

/**
 * Created by luxx on 2018/1/11 0011.
 */
public class Main {
    public static void main(String[] args) {
        Ticket ticket=new Ticket();
        // 　实例化几个抢票用户
        Thread mary = new Thread(ticket, "玛丽");

        Thread jack = new Thread(ticket, "杰克");

        mary.start();

        jack.start();
    }
}
